package blocstac.editimage.base
{
import blocstac.editimage.EditState;

import flash.display.Sprite;

public class ToolsComponent extends Sprite
{
	private var _stateManager:StateManager
	
	function ToolsComponent(stateManager:StateManager) {
		_stateManager = stateManager
	}

	public function updateEditState():void {
		visible = _stateManager.editState.isEditable
	}
}
}